
@media print {
  mso-header: none;
  mso-footer: none;
  .print_no {
    display: none;
  }
  .print_yes {
    display: block !important;
  }
  .print_title {
    font-size: 22px;
    text-align: center;
  }
  .print_table {
    table {
      width: 100% !important;
    }
  }
}

.print_yes {
  display: none;
}

.ant-descriptions-row > td.noBottom {
  padding-bottom: 0 !important;
}

.plan-order-container {
  .ant-pro-grid-content {
    .ant-pro-grid-content-children {
      .ant-pro-page-container-children-content {
        .ant-pro-table {
          .ant-pro-table-search {
            .ant-form {
              .ant-row {
                .ant-col {
                  &:nth-child(1),
                  &:nth-child(5) {
                    .ant-form-item {
                      .ant-form-item-control {
                        padding-right: 3px !important;
                      }
                      .ant-space {
                        display: flex;
                        justify-content: space-between;

                        .ant-space-item {
                          flex: 2;

                          &:nth-child(2) {
                            flex: 0;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

.plan-detail-container {
  .order-pro-form {
    .ant-pro-form-group {
      .ant-space {
        gap: 0 !important;

        .ant-space-item {
          .ant-form-item {
            margin-bottom: 0;
          }
        }
      }
    }
  }
  .bill-pro-table {
    .ant-pro-table-search {
      .ant-form {
        .ant-row {
          .ant-col {
            &:nth-child(1) {
              // padding-right: 12px !important;
              .ant-form-item {
                .ant-form-item-control {
                  padding-right: 3px !important;
                }
                .ant-space {
                  display: flex;
                  justify-content: space-between;

                  .ant-space-item {
                    flex: 2;

                    &:nth-child(2) {
                      flex: 0;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  .plan-settle-table {
    .ant-table-title {
      padding: 0;
      border: none;
    }
    .ant-card {
      padding: 5px 0 !important;

      &.ant-card-bordered {
        padding: 0 !important;
        .ant-card-body {
          padding: 0 !important;
        }
      }
      .ant-card-body {
        padding: 0;
      }
      .ant-descriptions-row > td, .ant-descriptions-row > th {
        padding-bottom: 5px !important;
        padding-left: 5px !important;
      }
    }
  }
}

.service-record {
  background-color: #fff;
  padding: 10px;

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
      font-size: 14px;
      font-weight: bold;
      color: #000;
    }

    .btns {
      font-size: 12px;
    }

    .fwb {
      font-weight: bold;
    }
  }

  .order-pro-form {
    .ant-form-item {
      .ant-form-item-label {
        label {
          font-size: 12px;
        }
      }
      .ant-form-item-control {
        .ant-input-affix-wrapper {
          padding: 0 11px;
          font-size: 12px;

          .ant-input {
            height: 24px;
            font-size: 12px;
          }
        }
      }
    }
  }

  .info-body {
    padding-bottom: 20px;

    .row {
      margin-bottom: 15px;
    }
  }

  .ant-card-body {
    padding: 0;
  }
}

.add-plan-dialog {
  .ant-modal-body {
    .ant-pro-form-group {
      .ant-form-item-control-input {
        font-size: 12px;
      }
      .ant-form-item-label {
        width: 100px;
      }
      .ant-form-item-control {
        .ant-checkbox-wrapper {
          font-size: 12px;
          margin-left: 30px;

          &.pro-field-sm {
            margin-left: 53px;
          }
        }
      }

      // &:nth-child(5) {
      //   .ant-space-item {
      //     &:nth-child(3) {
      //       .ant-form-item {
      //         margin-bottom: 0;
      //       }
      //     }
      //   }
      // }

      // &:nth-child(6) {
      //   .ant-space-item {
      //     &:nth-child(2) {
      //       .ant-form-item {
      //         margin-bottom: 0;
      //       }
      //     }
      //   }
      // }
    }
  }
}
